package com.rpframework.website.device.domain;

import com.rpframework.core.Domain;
import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

/**
 * 收藏表
 * @author Administrator
 *
 */
@TableMapperAnnotation(tableName = "t_collect", uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class TCollect extends Domain {

	private static final long serialVersionUID = 1L;
	@FieldMapperAnnotation
	Integer id;
	/**
	 * 相关id商品表
	 */
	@FieldMapperAnnotation
	Integer goodsId;
	/**
	 * 用户
	 */
	@FieldMapperAnnotation
	Integer userId;
	
	/**
	 * 状态 1正常 2禁用
	 */
	@FieldMapperAnnotation
	Integer state;
	/**
	 * 创建时间
	 */
	@FieldMapperAnnotation
	Long createTime;
	/**
	 * 修改时间
	 */
	@FieldMapperAnnotation
	Long modify;
	/**
	 * 状态 1正常 2禁用
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * 状态 1正常 2禁用
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * 创建时间
	 */
	public Long getCreateTime() {
		return createTime;
	}
	/**
	 * 创建时间
	 */
	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}
	/**
	 * 修改时间
	 */
	public Long getModify() {
		return modify;
	}
	/**
	 * 修改时间
	 */
	public void setModify(Long modify) {
		this.modify = modify;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 相关id商品表
	 */
	public Integer getGoodsId() {
		return goodsId;
	}
	/**
	 * 相关id商品表
	 */
	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}
	/**
	 * 用户
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 用户
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
}
